/*
 * This file is part of GuitarMaster.
 * 
 * GuitarMaster is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * GuitarMaster is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.paris5.master2.guitarmaster.exception;

/*
 * $Id: EcomValidationException.java 13 2013-03-26 23:40:49Z nedjahi.mourad@gmail.com $
 * 
 * $HeadURL: http://com-paris5-master2-guitarmaster-distrib.googlecode.com/svn/trunk/com.paris5.master2.guitarmaster.distrib/src/com/paris5/master2/guitarmaster/exception/EcomValidationException.java $
 * $Revision: 13 $
 * $Date: 2013-03-26 23:40:49 +0000 (Tue, 26 Mar 2013) $
 * $Author: nedjahi.mourad@gmail.com $
 */

/**
 * @author Leticia Mahamed, Alice Khammy, mourad nedjahi, Saliou Mamadou Barry
 * 
 * Exception de validation de donnees
 */
public class EcomValidationException extends Exception{

    public EcomValidationException(String message) {
        super(message);
    }
    
    @Override
    public String toString()
    {
        StringBuilder stb = new StringBuilder();
        stb.append(super.toString());
        stb.append(" Invalide data sent");
        return stb.toString();
    }
}
